home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / ftn / getc.z / getc
Encoding:
Text File  |  2002-10-03  |  1.4 KB  |  38 lines

  1. GETC(3F)                                              Last changed: 10-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      ggeettcc, ffggeettcc - get a character from a logical unit
  6.  
  7. SSYYNNOOPPSSIISS
  8.      iinntteeggeerr ffuunnccttiioonn ggeettcc ((_c_h_a_r))
  9.      cchhaarraacctteerr _c_h_a_r
  10.  
  11.      iinntteeggeerr ffuunnccttiioonn ffggeettcc ((_l_u_n_i_t,, _c_h_a_r))
  12.      cchhaarraacctteerr _c_h_a_r
  13.  
  14. IIMMPPLLEEMMEENNTTAATTIIOONN
  15.      IRIX systems
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      These routines return the next character from a file associated with a
  19.      Fortran logical unit, bypassing normal Fortran I/O.  GGeettcc reads from
  20.      logical unit 5, normally connected to the control terminal input.
  21.  
  22.      The value of each function is a system status code. Zero indicates no
  23.      error occurred on the read; -1 indicates end of file was detected.  A
  24.      positive value will be either a UNIX system error code or an F77 I/O
  25.      error code. See ppeerrrroorr(3F).
  26.  
  27. BBUUGGSS
  28.      ffggeettcc(3f) does not work for Fortran unit numbers other than 5.
  29.  
  30. FFIILLEESS
  31.      //uussrr//uuccbb//lliibb//lliibbUU7777..aa
  32.      //uussrr//lliibb//lliibbUU7777..aa
  33.  
  34. SSEEEE AALLSSOO
  35.      ggeettcc(3S), ppeerrrroorr(3F)
  36.  
  37.      This man page is available only online.
  38.